<template>  

<el-tabs type="border-card">
    <el-tab-pane label="我的个人案件">
<div>
    <el-form :model="queryParams" ref="queryForm" size="small" :inline="true" label-width="68px"  class="app-container">
  
      <el-form-item label=""  prop="ipaddr" label-width="200px">
        <el-input
          v-model="queryParams.ipaddr"
          placeholder=""
          clearable
          @keyup.enter.native="handleQuery"
        />
      </el-form-item>

        <el-form-item label="" prop="status">
        <el-select v-model="queryParams.status" placeholder="部门状态"   clearable>
          <el-option
            
          />
        </el-select>
      </el-form-item>

       <el-form-item label="" prop="status">
        <el-select v-model="queryParams.status" placeholder="部门状态"   clearable>
          <el-option
            
          />
        </el-select>
      </el-form-item>

       <el-form-item label="" prop="status">
        <el-select v-model="queryParams.status" placeholder="部门状态"  clearable>
          <el-option
            
          />
        </el-select>
      </el-form-item>

       <el-form-item label="" prop="status">
        <el-select v-model="queryParams.status" placeholder="部门状态"  clearable>
          <el-option
            
          />
        </el-select>
      </el-form-item>

      
       <el-form-item label="" prop="status">
        <el-select v-model="queryParams.status" placeholder="部门状态"  clearable>
          <el-option
            
          />
        </el-select>
      </el-form-item>
      
</el-dropdown>
</el-dropdown>
</el-dropdown>
</el-dropdown>
</el-dropdown>
</el-dropdown>
      
      <el-form-item>
        <el-button type="primary"  @click="handleQuery">检索</el-button>
      </el-form-item>

    </el-form>



  <el-table v-loading="loading" :data="postList" @selection-change="handleSelectionChange" class="app-container1" border>
 <el-table-column align="center" type="selection" width="50" />
 <el-table-column align="center" label="收案日期" prop="collectionTime" width="150px"/>
 <el-table-column align="center" label="委托人"prop="caseWtr" width="150px"/>
 <el-table-column align="center" label="对方当事人" prop="caseOppositeParties"width="150px"/>
<el-table-column align="center" label="承办律师" prop="caseAttorney" width="150px"/>
 <el-table-column align="center" label="结案" prop="caseSettleStatus" width="150px"/>
 <el-table-column align="center" label="代理费（元）"prop="caseAgencyfee" width="150px"/>
<el-table-column align="center" label="已付款(元)"prop="casePaidsal" width="150px"/>
 <el-table-column align="center" label="已开票(元)"prop="caseInvoiced" width="150px"/>
 <el-table-column align="center" label="收案审批" prop="caseApproveStatus" width="150px"/>
 <el-table-column align="center" label="收案审批人"prop="systemApprovalId" width="150px"/> 
<el-table-column align="center" label="合同"prop="phonenumber" width="150px"/>
<el-table-column align="center" label="档案" prop="phonenumber" width="150px"/>
<el-table-column align="center" class-name="small-padding fixed-width" label="操作" fixed="right" width="200">
 <template v-if="scope.row.userId !== 1" slot-scope="scope">
<el-dropdown v-hasPermi="['system:user:resetPwd', 'system:user:edit']" size="mini" @command="(command) => handleCommand(command, scope.row)">
 <el-button icon="el-icon-d-arrow-right" size="mini" type="text">操作</el-button>
 <el-dropdown-menu slot="dropdown">
<el-dropdown-item >费用减免申请</el-dropdown-item>
 <el-dropdown-item >添加收款记录</el-dropdown-item>
 <el-dropdown-item >共享</el-dropdown-item>
</el-dropdown-menu>
</el-dropdown>
 </template>
 </el-table-column>
 </el-table>

  </div> 
    </el-tab-pane>
    <el-tab-pane label="我的合办案件">我的合办案件</el-tab-pane>
    <el-tab-pane label="共享案件">共享案件</el-tab-pane>
    <el-tab-pane label="我的待收款案件">我的待收款案件</el-tab-pane>
    <el-tab-pane label="我的案件汇总">我的案件汇总</el-tab-pane>
  </el-tabs>

    
 
</template>

<script>
import { cx} from "@/api/system/List.js";

export default {
  name: "Post",
  dicts: ['sys_normal_disable'],
  data() {
    return {

      //1:审批中2:审批通过3:审批不通过'

      tt:[{sz:1,name:"审批中"},{sz:2,name:"审批通过"},{sz:3,name:"审批不通过"}],

      // 遮罩层
      loading: true,
      // 选中数组
      ids: [],
      // 非单个禁用
      single: true,
      // 非多个禁用
      multiple: true,
      // 显示搜索条件
      showSearch: true,
      // 总条数
      total: 0,
      // 岗位表格数据
      postList: [],

      queryParams: {
        pageNum: 1,
        pageSize: 10,
        postCode: undefined,
        postName: undefined,
        status: undefined
      },
    
    };
  },
  created() {
    this.getList();
  },
  methods: {
    /** 查询岗位列表 */
    getList() {
      this.loading = true;
      cx(this.queryParams).then(response => {
        this.postList = response;
        this.total = response.total;
        this.loading = false;
      });
    },
    /** 重置按钮操作 */
    resetQuery() {
      this.resetForm("queryForm");
      this.handleQuery();
    },
  
   
  }
};
</script>
<style scoped>
/* .app-container{
border-radius: 3px;
margin: 5px;
 height: 100px;
background-color: white;
box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;

} */
/* .app-container1{
width: 100%;
 margin: 5px;
  padding: 20px;
   box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
background-color: white;
} */

.el-select {
  width: 150px; /* 根据需要设置宽度 */
}


</style>

